#ifndef _BLDC_EXT_H
#define _BLDC_EXT_H
#include "Platform.h"
#include "Bldc_Type.h"
extern void BldcPwmControl(BldcPhase_t ePhase);
extern uint8_t BldcGetHallValue(void);
extern BldcPhase_t BldcHallValToPhase(uint8_t hallVal,uint16_t dir);
extern void BldcOff(void);

extern BldcRunState_t xBldcRunMode;//bldc运行状态
extern SensorlessInfo_t xSensorlessInfo;
extern ForceRunState_t xForceRunState;
#endif
